import Vue from 'vue'
import Router from 'vue-router'
import Dhw from '@/components/wk/Dhw'
import Node from '@/components/lyl/Node'
import Ind from '@/components/zwf/Ind'
import Bimai from '@/components/zwf/Bimai'
import Yanzhuang from '@/components/zwf/Yanzhuang'
import Milk from '@/components/zwf/Milk'
import Spxq from '@/components/wk/Spxq'
import Xskq from '@/components/wk/Xskq'
import Swxq from '@/components/wk/Swxq'
import Zzc from '@/components/wk/Zzc'
import Zpbz from '@/components/wk/Zpbz'
import Xiulian from '@/components/zwf/Xiulian'
import Miji from '@/components/zwf/Miji'
import Shopcar from '@/components/lyl/Shopcar'
import Fenlei from '@/components/lyl/Fenlei'
import Mian from '@/components/lyl/Mian'
import Miaxiang from '@/components/lyl/Miaxiang'
import Shai from '@/components/lyl/Shai'
import Genduo from '@/components/lyl/Genduo'
import Xianshi from '@/components/zwf/Xianshi'
import Jingxuan from '@/components/zwf/Jingxuan'
import Remai from '@/components/zwf/Remai'
import Search from '@/components/zwf/Search'
import Info from '@/components/zwf/Info'
import Shcont from '@/components/lyl/Shcont'
import Erwei from '@/components/lyl/Erwei'
import Quedi from '@/components/lyl/Quedi'
import Dixiang from '@/components/lyl/Dixiang'
import Jiesuan from '@/components/lyl/Jiesuan'
import Lunboinfo from '@/components/zwf/Lunboinfo'
import Xinpin from '@/components/zwf/Xinpin'
import Shangcheng from '@/components/zwf/Shangcheng'
import Mine from '@/components/lyl/Mine'
import Paifan from '@/components/lyl/Paifan'
import Shezhi from '@/components/lyl/Shezhi'
import Zhanghu from '@/components/lyl/Zhanghu'
import Xiupas from '@/components/lyl/Xiupas'
import Gerenxinxi from '@/components/lyl/Gerenxinxi'
import Touimg from '@/components/lyl/Touimg'
import Nicheng from '@/components/lyl/Nicheng'
import Yaoqima from '@/components/lyl/Yaoqima'
import Bdpone from '@/components/lyl/Bdpone'
import Wozhhu from '@/components/lyl/Wozhhu'
import Alloders from '@/components/lyl/Alloders'
import Xdxp from '@/components/wk/Xdxq'
import Qbxd from'@/components/wk/Qbxd'
import Shaitu from'@/components/wk/Shaitu'
import Ppmz from '@/components/wk/Ppmz'
import Daizhifu from '@/components/lyl/Daizhifu'
import Alldingdan from '@/components/lyl/Alldingdan'
import Daifahuo from '@/components/lyl/Daifahuo'
import Daishouhuo from '@/components/lyl/Daishouhuo'
import Jywc from '@/components/lyl/Jywc'
import Myshenzhi from '@/components/lyl/Myshenzhi'
import Mingxi from '@/components/lyl/Mingxi'
import Duihuan from '@/components/lyl/Duihuan'
import Mfooter from '@/components/lyl/Mfooter'
import Shenfenz from '@/components/zwf/Shenfenz'
import Idinfo from '@/components/zwf/Idinfo'
import Address from '@/components/zwf/Address'
import Gongzh from '@/components/zwf/Gongzh'
import Test from '@/components/zwf/Test'
import Adddizhi from '@/components/zwf/Adddizhi'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/dhw',
      name: 'Dhw',
      component: Dhw,
    },
    {
      path: '/node',
      name: 'Node',
      component: Node,
    },
    {
      path: '/',
      name: 'Ind',
      component: Ind
    },
    {
      path: '/node',
      name: 'Node',
      component: Node
    },
    {
      path: '/shopcar',
      name: 'Shopcar',
      component: Shopcar
    },
    {
      path: '/mine',
      name: 'Mine',
      component: Mine
    },
    {
      path: '/milk',
      name: 'Milk',
      component: Milk
    },
    {

      path: '/spxq',
      name: 'Spxq',
      component: Spxq,
      children: [{
          path: '/zpbz',
          name: 'Zpbz',
          component: Zpbz,
        },
        {
          path: '/zzc',
          name: 'Zzc',
          component: Zzc
        }
        ]
    },
    {
      path: '/bimai',
      name: 'Bimai',
      component: Bimai
    },
    {
      path: '/yanzhuang',
      name: 'Yanzhuang',
      component: Yanzhuang
    },
    {
      path: '/fenlei',
      name: 'Fenlei',
      component: Fenlei
    },
    {
      path: '/mian/:id',
      name: 'Mian',
      component: Mian,
      children:[
        {
          path:'/shai',
          name:'Shai',
          component:Shai,
          children:[
            {
              path:'/genduo',
              name:'Genduo',
              component:Genduo
            }
          ]
        }
      ]
    },
    {
      path: '/xskq',
      name: 'Xskq',
      component: Xskq,
      children:[
        {
        path: '/zzc',
        name: 'Zzc',
        component: Zzc
      },
      {
        path: '/zpbz',
        name: 'Zpbz',
        component: Zpbz,
      }
      ]
    },
    {
      path: '/swxq',
      name: 'Swxq',
      component: Swxq
    },
    {
      path: '/mianxiang',
      name: 'Miaxiang',
      component: Miaxiang
    },
    {
      path: '/xiulian',
      name: 'Xiulian',
      component: Xiulian,
    },
    {
      path:'/ppmz',
      name:'Ppmz',
      component:Ppmz
    },
    {
      path:'/xianshi',
      name:'Xianshi',
      component:Xianshi
    },
    {
      path:'/jingxuan',
      name:'Jingxuan',
      component:Jingxuan
    },
    {
      path:'/remai',
      name:'Remai',
      component:Remai
    },
    {
      path:'/search',
      name:'Search',
      component:Search
    },
    {
      path: '/info',
      name: 'Info',
      component: Info
    },
    {
      path: '/shcont',
      name: 'Shcont',
      component: Shcont
    },
    {
      path: '/erwei',
      name: 'Erwei',
      component: Erwei
    },
    {
      path: '/quedi',
      name: 'Quedi',
      component: Quedi
    },
    {
      path: '/dixiang',
      name: 'Dixiang',
      component: Dixiang
    },
    {
      path: '/jiesuan',
      name: 'Jiesuan',
      component: Jiesuan
    },
    {
      path: '/lunboinfo',
      name: 'Lunboinfo',
      component: Lunboinfo
    },
    {
      path: '/xinpin',
      name: 'Xinpin',
      component: Xinpin
    },
    {
      path: '/shangcheng',
      name: 'Shangcheng',
      component: Shangcheng
    },
    {
      path: '/paifan',
      name: 'Paifan',
      component: Paifan
    },
    {
      path: '/shezhi',
      name: 'Shezhi',
      component: Shezhi
    },
    {
      path: '/zhanghu',
      name: 'Zhanghu',
      component: Zhanghu
    },
    {
      path: '/xiupas',
      name: 'Xiupas',
      component: Xiupas
    },
    {
      path: '/gerenxinxi',
      name: 'Gerenxinxi',
      component: Gerenxinxi
    },
    {
      path: '/touimg',
      name: 'Touimg',
      component: Touimg
    },
    {
      path: '/nicheng',
      name: 'Nicheng',
      component: Nicheng
    },
    {
      path: '/yaoqima',
      name: 'Yaoqima',
      component: Yaoqima
    },
    {
      path: '/bdpone',
      name: 'Bdpone',
      component: Bdpone
    },
    {
      path: '/wozhhu',
      name: 'Wozhhu',
      component: Wozhhu
    },
    {
      path: '/alloders',
      name: 'Alloders',
      component: Alloders
    },
    {
      path: '/xdxq',
      name: 'Xdxp',
      component: Xdxp
    },
    {
      path: '/quxd',
      name: 'Qbxd',
      component: Qbxd
    },
    {
      path: '/shaitu',
      name: 'Shaitu',
      component: Shaitu
    },
    {
      path: '/alloders',
      name: 'Alloders',
      component: Alloders,
      children:[
        {
          path: '/daizhifu/:id',
          name: 'Daizhifu',
          component: Daizhifu
        },
        {
          path: '/alldingdan/:id',
          name: 'Alldingdan',
          component: Alldingdan
        },
        {
          path: '/daifahuo/:id',
          name: 'Daifahuo',
          component: Daifahuo
        },
        {
          path: '/daishouhuo/:id',
          name: 'Daishouhuo',
          component: Daishouhuo
        },
        {
          path: '/jywc/:id',
          name: 'Jywc',
          component: Jywc
        }
      ]
    },
    {
      path: '/myshenzhi',
      name: 'Myshenzhi',
      component: Myshenzhi
    },
    {
      path: '/mingxi',
      name: 'Mingxi',
      component: Mingxi
    },
    {
      path: '/duihuan',
      name: 'Duihuan',
      component: Duihuan
    },
    {
      path: '/mfooter',
      name: 'Mfooter',
      component: Mfooter
    },
    {
      path: '/shenfenz',
      name: 'Shenfenz',
      component: Shenfenz
    },
    {
      path: '/idinfo',
      name: 'Idinfo',
      component: Idinfo
    },
    {
      path: '/gongzh',
      name: 'Gongzh',
      component: Gongzh
    },
    {
      path: '/address',
      name: 'Address',
      component: Address
    },
    {
      path: '/test',
      name: 'Test',
      component: Test
    },
    {
      path: '/adddizhi',
      name: 'Adddizhi',
      component: Adddizhi
    },
    {
      path: '/miji',
      name: 'Miji',
      component: Miji
    }

  ]
})

